import axios from 'axios'
let host = 'http://test.30y.me/index.php/mobile';

export const getCategory = params => {
    return axios.post(`${host}/Index/category`, {param: JSON.stringify(params)}).then(res => res.data);
};